
export enum compileType {
  ERROR = "error",
  SUCCESS = "success"
}
export class ComplieFileInfo {
  fileName: string = "";
  compileArkTSTime: string = "";
  successfulTime: string = "";
  type: string = compileType.ERROR;
  log: string[] = []
  constructor(fileName: string, log: string[]) {
    this.fileName = fileName;
    this.log = log;
  }

  getType() {
    return this.type;
  }

  setType(type: string) {
    this.type = type;
  }

  getCompileArkTSTime() {
    return this.compileArkTSTime;
  }

  setCompileArkTSTime(compileArkTSTime: string) {
    this.compileArkTSTime = compileArkTSTime;
  }

  getSuccessfulTime() {
    return this.successfulTime;
  }

  setSuccessfulTime(successfulTime: string) {
    this.successfulTime = successfulTime;
  }
}

export class OutPutInfo {
  fileName: string = "";
  oldType: string = "";
  newType: string = "";
  oldCompileArkTSTime: string = "";
  newCompileArkTSTime: string = "";
  compileArkTSTimeDiff: number = 0;
  isCompileArkTSAlarm: boolean = false;
  // isCompileArkTSAlarm: string = '';
  oldSuccessfulTime: string = "";
  newSuccessfulTime: string = "";
  successfulTimeDiff: number = 0;
  isSuccessfulAlarm: boolean = false;
  // isSuccessfulAlarm: string = '';
  newAlarmAdded: string = "";
  deleteAlarm: string = "";
  appType: string = "";
}
